package com.itheima.stock.service;

import com.itheima.stock.common.domian.*;
import com.itheima.stock.vo.result.R;

import java.util.List;
import java.util.Map;

/**
 * @author: siwukun
 * @date: 2022/06/02
 * @description: 股票成交量对比
 */
public interface Stock_rtIndexInfoService {

    /**
     * 股票成交量对比
     *
     * @return
     */
    R<Map<String, List>> queryAllMarketInfoUpDown();

    /**
     * 个股分时涨跌幅度统计
     *
     * @return
     */
    R<Map> queryAllStockGain();

    R<List<Stock4MinuteDomain>> qureyStockTimeSharing(String code);

    R<List<Stock4MinuteDomain>> queryDayKLine(String code);

    /**
     * 查询所有的股票代码
     * @return
     */
    R<List> queryAllACode(String searchStr);

    /**
     * 个股主营业务查询接口
     * @param code code码
     * @return List
     */
    R<StockBusiness> queryMainBusinessOfIndividualStocks(String code);

    R<List<StockWeekLineDomain>> queryWeeKLine(String code);

    R<StockRtIndexInfoDomain> queryTheLatestTimeSharingQuotationOfIndividualStocks(String code);

    /**
     * 个股实时交易流水查询
     * @param code
     * @return
     */
    R<List<StockFlowDomain>> queryGStockFlow(String code);
}
